package com.liu.common.entity.vo;

import cn.hutool.core.annotation.Alias;
import com.liu.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class DeepSeekUserBalanceVO extends BaseEntity {

    /**
     * 当前账户是否有余额可供 API 调用
     */
    @Alias("is_available")
    private Boolean isAvailable;

    @Alias("balance_infos")
    private List<BalanceInfo> balanceInfos;

    @Getter
    @Setter
    public static class BalanceInfo extends BaseEntity {

        /**
         * 货币，人民币或美元
         */
        private String currency;

        /**
         * 总的可用余额，包括赠金和充值余额
         */
        @Alias("total_balance")
        private String totalBalance;

        /**
         * 未过期的赠金余额
         */
        @Alias("granted_balance")
        private String grantedBalance;

        /**
         * 充值余额
         */
        @Alias("topped_up_balance")
        private String toppedUpBalance;
    }
}
